package si.yun.entity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;
import java.math.BigDecimal;
/**
 * @Author Cxc
 * @Author QQ:1304793236 
 * @Date 2021-10-12 20:28:34 
 */
@Entity
@Table ( name ="sy_before_user" )
@Data
public class SyBeforeUser  implements Serializable {
    private static final long serialVersionUID =  3324150810321498501L;

    /**
     * 主键id
     */
    @Column(name = "user_id" )
    private Integer userId;

    /**
     * 用户账号，唯一
     */
    @Column(name = "account" )
    private String account;

    /**
     * 用户昵称
     */
    @Column(name = "nickname" )
    private String nickname;

    /**
     * 用户学号
     */
    @Column(name = "user_code" )
    private Integer userCode;

    /**
     * 头像url路径
     */
    @Column(name = "avatar_url" )
    private String avatarUrl;

    /**
     * 学习时长
     */
    @Column(name = "study_date" )
    private Integer studyDate;

    /**
     * 状态（2正常，3禁言，4注销）
     */
    @Column(name = "status" )
    private Integer status;

    /**
     * 个性签名
     */
    @Column(name = "freestyle" )
    private String freestyle;

    /**
     * 身份证号码
     */
    @Column(name = "id_card" )
    private String idCard;

    /**
     * 手机号码
     */
    @Column(name = "phone" )
    private String phone;

    /**
     * 用户性别（2男，3女）
     */
    @Column(name = "sex" )
    private Integer sex;

    /**
     * 出生日期
     */
    @Column(name = "birth_date" )
    private String birthDate;

    /**
     * 邮箱
     */
    @Column(name = "email" )
    private String email;

    /**
     * 备注（介绍）
     */
    @Column(name = "remarks" )
    private String remarks;

    /**
     * 求职意向
     */
    @Column(name = "intention" )
    private String intention;

    /**
     * 消费总金额
     */
    @Column(name = "consumption" )
    private BigDecimal consumption;

    /**
     * 照片
     */
    @Column(name = "photo_img" )
    private String photoImg;

    /**
     * 创建时间
     */
    @Column(name = "create_time" )
    private String createTime;

    /**
     * 用户真实姓名
     */
    @Column(name = "real_name" )
    private String realName;
    /**
     * 用户密码
     **/
    @Column(name = "password" )
    private String password;
    /**
     * 微信用户唯一标识
     **/
    @Column(name = "wx_union_id" )
    private String wxUnionId;

    /**
     * qq用户唯一标识
     **/
    @Column(name = "qq_union_id" )
    private String qqUnionId;

    public String getWxUnionId() {
        return wxUnionId;
    }

    public void setWxUnionId(String wxUnionId) {
        this.wxUnionId = wxUnionId;
    }

    public String getQqUnionId() {
        return qqUnionId;
    }

    public void setQqUnionId(String qqUnionId) {
        this.qqUnionId = qqUnionId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }


    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }


    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }


    public Integer getUserCode() {
        return userCode;
    }

    public void setUserCode(Integer userCode) {
        this.userCode = userCode;
    }


    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }


    public Integer getStudyDate() {
        return studyDate;
    }

    public void setStudyDate(Integer studyDate) {
        this.studyDate = studyDate;
    }


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }


    public String getFreestyle() {
        return freestyle;
    }

    public void setFreestyle(String freestyle) {
        this.freestyle = freestyle;
    }


    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }


    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }


    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }


    public String getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(String birthDate) {
        this.birthDate = birthDate;
    }


    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }


    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }


    public String getIntention() {
        return intention;
    }

    public void setIntention(String intention) {
        this.intention = intention;
    }


    public BigDecimal getConsumption() {
        return consumption;
    }

    public void setConsumption(BigDecimal consumption) {
        this.consumption = consumption;
    }


    public String getPhotoImg() {
        return photoImg;
    }

    public void setPhotoImg(String photoImg) {
        this.photoImg = photoImg;
    }


    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }


    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

}
